home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / sdevl / oct95 / coadf105.gif < prev    next >
Graphics Interchange Format  |  1996-06-19  |  57.7 KB  |  676x340  |  4-bit (16 colors)
   ocr: Figure 5. "Sale Calculates Its Total" Scenario View (Round II) Sale Salelineitem Item Scenario: Sale Calculates its Total Scenario Constraint: calclotal calcSubtotal howMuchForQty 0.1 seconds, 9 out of 10 times, calcSubtotal getPriceForDate 0.5 seconds max. calcTax aalclotal sale.calcTotal 1(;total) caicsuptotal sale.calcSubtotal ( ; subtotal) n-- caicsubtotal sale.inelem.calosubtotal (; - subtotal): howMuchForaty tem.howMuchForgty (aty, date; : amt) getPriceforDate: item.getPricerorDate (date : price) calctotall calclax, sale.calcTax(,totallax